//
//  Operator.swift
//  Pods
//
//  Created by HongPu on 2015/8/5.
//
//

postfix operator ** {}

postfix func ** <A>(a: A?) -> Bool
{
    if let b = a
    {
        return true
    }
    
    return false
}

postfix operator || {}

postfix func || (a: String?) -> String
{
    if let s = a
    {
        return "\(s)"
    }
    
    return ""
}